//
//  Discover_WelfareCell.m
//  MindBox
//
//  Created by MS on 16-1-6.
//  Copyright (c) 2016年 Lemon. All rights reserved.
//

#import "Discover_WelfareCell.h"
#import "UIImageView+WebCache.h"
@interface Discover_WelfareCell ()

@property (weak, nonatomic) IBOutlet UIImageView *imgView;
@property (weak, nonatomic) IBOutlet UILabel *nameView;
@property (nonatomic,copy) NSString * time;

@property (nonatomic,assign) int totleTime;
@end

@implementation Discover_WelfareCell

-(void)setGoods:(Discover_Goods *)goods
{
    _goods = goods;
    [self.imgView sd_setImageWithURL:[NSURL URLWithString:goods.image_url]];
    self.nameView.text = goods.name;
}


- (void)awakeFromNib {
    // Initialization code
    self.nameView.font = [UIFont boldSystemFontOfSize:16];

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
    
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

@end
